---------------------------------------------------------------- NED Knob Control Copyright 1995-1997 Northeast Data Corp. All Rights Reserved ---------------------------------------------------------------- Release 1.2 June 1997 This document describes the NED Knob Custom Control. CONTENTS 1. Product Description 2. Legal Information 3. Installation 4. Usage 5. Demonstration Application 6. Ordering Information 7. Support 8. Version release notes ---------------------------------------------------------------- 1. Product Description The NED KNOB Control is a Microsoft Windows 32-bit custom control that presents a knob control similar to those used on stereo equipment. This control is compatible with Windows '95. and Windows NT. Being a 32-bit OLE control, the programmer can add the NED Knob Control into any 32-bit OCX container application, such as Visual C++, Visual Basic (32-bit), MS Access or Delphi. Use of the NED Knob Control in a finished application requires the NED Knob Control OCX (NKNOB32.OCX) to be installed with the application. There are properties available that allow the programmer to control the behavior and appearance of the Control. The NED Knob control can appear in four different orientations. Colors of various parts of the control can be adjusted, and there are 3D properties that let you specify such things as borders and bevels. The range of the NED Knob can be set to any range with low and high values varying from 0 to 32767. ------------------------------------------------------------------- 2. Legal Information The purchaser of the NED Knob Control is allowed to use it and distribute it in applications without paying any royalty, and without printing or displaying a copyright notice for the control. This only includes distribution of the NED Knob Control OCX (NKNOB32.OCX). It does not include distribution of the KNOB.lic file, or the documentation that comes with the Control. The purchaser of the NED Knob Control may distribute the control OCX with applications that are networked (multiple users accessing the OCX from a file server) without paying any license fees to Northeast Data Corp. ------------------------------------------------------------------- 3. Installation Create a temp directory on your hard disk and copy all files from the distribution disk to the directory. These files include: NKnob32.OCX (NED Knob OCX) README.TXT (this file) DEMO.CPP (Demo Files) DEMO.H DEMO.MAK DEMO.RC DEMODLG.CPP DEMODLG.H KNOB.CPP KNOB.H RESOURCE.H STDAFX.CPP STDAFX.H RES\DEMO.ICO RES\DEMO.RC2 If you have downloaded the NKBVC12.ZIP file, use PKUNZIP to extract the files into the temp directory. The files listed below are required to use the OCX and demo in this archive. This files can be found in OCX5032.ZIP in the same area as NKBVC12.ZIP. This files in this archive should be placed in the same directory as the above OCX files. MFC42.DLL (Required for OCX) MSVCRT.DLL (Required for OCX) OLEPRO32.DLL (Required for OCX) OLEAUT32.DLL (Required for OCX) REGSVR32.EXE (Control registration utility) If you already have these files on your system, they are probably located in the System or System32 directory. If this is the case, you probably do not need to download these files again. To register the OCX, place all of the above files in the System(32) directory and run the REGSVR32 on the following files: MFC42.DLL OLEPRO32.DLL NKnob32.OCX A 32-bit Microsoft Visual C++ example application is provided with the NED Knob control. You must have the 32-bit version of Microsoft Visual C++ installed on your machine to run this demo. The example application allows you to play with the features of the NED Knob control interactively. The demo application is not crippled in any way. The dialog specifying that this is an unregistered version of the control does not appear in the release version. ------------------------------------------------------------------- 4. Usage PROPERTIES ---------- About... - Displays the about dialog box for the KNOB control. BackColor - Sets the background color. BorderColor - Color of the border. The border is the region between the outer and inner bevels. BorderWidth - Width of the border in pixels. FaceColor - Color of the area inside the knob. If you set this to white, pie-shaped areas will be drawn inside the knob to give a "shiny" effect. HiliteColor - Color of the upper left of inner and outer bevels when their styles are set to raised. Color of the lower right bevels when their styles are set to inset. InnerBevel - Solid (2), Inset (0), or Raised (1). InnerBevelWidth - The width of the inner bevel in pixels. Max - Maximum KNOB value. This must be greater than the minimum KNOB value. Min - Minimum KNOB value. This must be less than the maximum KNOB value. NeedleColor - Color of the needle. Orientation - Bottom(0), Left(1), Right(2), Top(3) OuterBevel - Solid (2), Inset (0), or Raised (1). OuterBevelWidth - The width of the outer bevel in pixels. Pos - Current KNOB position. This must be a value between or including the current minimum and maximum values of the KNOB. ShadowColor - The color of the left and top sides of the outer and inner bevels when the bevel styles are "Inset". The color of the bottom and right sides when the style is set to "Raised". EVENTS ------ ValueChanged The parameter is the new position of the knob. ----------------------------------------------------------------------- 5. Demonstration Application The VC++ demo app displays a knob that shows various property settings. ----------------------------------------------------------------------- 6. Ordering Information The price of the 32-bit NED Knob Control is $45.00US. The price of the 16-bit NED Knob Control is $45.00US. The price of the NED Knob Source is $199.00US. Physical shipping and handling fees in the US are $15.00US. Physical shipping and handling fees outside the US are $20.00US. ***E-mail delivery is free.*** New York State residents must add 8% sales tax. DIRECT For US orders, we accept Visa, MasterCard, Purchase Orders, check or money order. For orders outside of the US, we accept Visa or MasterCard. For credit card orders, you may call or fax us at (716) 426-7334. Please specify the following information: Product you wish to order Quantity (one per developer per product) Credit Card Type (Visa or MasterCard) Name on Credit Card Expiration Date Name and address of person the software is registered to. Phone and fax numbers e-mail address Please specify e-mail or physical delivery methods. ***E-mail delivery is free.*** COMPUSERVE The ID for the 32-bit NED Knob Control is 9667. The ID for the 16-bit NED Knob Control is 9374. RESELLERS at-Once Software (www.atonce.com) US sales only ObjectTiger (www.objecttiger.com) US and International Sales ----------------------------------------------------------------------- 7. Support Technical support is available only for registered users. Northeast Data Corp. 2117 Buffalo Rd., Suite 290 Rochester, NY 14624 Phone (716) 426-7334 (voice & fax) E-Mail: ned1@frontiernet.net CompuServe: 71321,3304 Home Page: http://www.frontiernet.net/~ned1/index.htm ------------------------------------------------------------------------ 8. Version Release Notes Version 1.0 - December 1995 First release. Version 1.1 - January 1996 Fixed problem with demo dialog crashing when control was loaded. Version 1.2 - June 1997 Rebuilt with VC++ 5.0 - smaller file size